﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;

namespace Mn.Framework.Service.Messaging
{
    public class SmtpServer : ISmtpServer
    {

        public virtual string HostAddress { get; set; }

        public int Port { get; set; }


        public System.Net.NetworkCredential Credential
        {
            get { return new NetworkCredential(Username, Password); }
        }


        public string Username
        {
            get;
            set;
        }

        public string Password
        {
            get;
            set;
        }
    }
}
